mGTK: An SML Binding of Gtk+

نویسندگان

  • Ken Friis Larsen
  • Henning Niss
چکیده

We describe mGTK, a Standard ML language binding for the Gtk+ toolkit. Gtk+ is a graphical toolkit for the X Window System, and provides an object-oriented C language API. Since Standard ML is a mostly-functional language without object types, constructing a binding to Gtk+ is not a trivial task. In mGTK, a single-inheritance class hierarchy is encoded using SML’s type system. Most of the mGTK binding is machine generated, to best utilize the limited manpower of the project. The goal of the mGTK project is “just” to present a type-safe interface to Gtk+ for SML programmers. This contrasts with GUI libraries for functional languages, which concentrate on producing good user interfaces: there are several SML graphical user interface libraries available for this task. With mGTK, SML applications have access to the mature, complete and familiar Gtk+ user interface.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Octave-GTK: A GTK binding for GNU Octave

This paper discusses the problems faced with interoperability between two programming languages, with respect to GNU Octave, and GTK API written in C, to provide the GTK API on Octave.Octave-GTK is the fusion of two different API’s: one exported by GNU Octave [scientific computing tool] and the other GTK [GUI toolkit]; this enables one to use GTK primitives within GNU Octave, to build graphical...

متن کامل

Automatically generated type-safe GTK+ binding for Dylan

We present an automated way to get language bindings for GTK+ for Dylan [2], an object-oriented functional programming language related to Lisp. Dylan supports multiple inheritance, polymorphism, multiple dispatch, keyword arguments, pattern-based syntax extension macros, and many other features. The generated binding is type-safe, no upand downcasts are needed.

متن کامل

The Tyrosine Kinase GTK Signal Transduction and Biological Function

Annerén, C. 2001. The Tyrosine Kinase GTK. Signal Transduction and Biological Function. Acta Universitatis Upsaliensis. Comprehensive Summaries of Uppsala Dissertations from the Faculty of Medicine 1062. 56 pp. Uppsala. ISBN 91-554-5082-2. Protein tyrosine kinases play an important role in the regulation of various cellular processes such as growth, differentiation and survival. GTK, a novel SR...

متن کامل

Application of Well Log Analysis to Assess the Petrophysical Parameters of the Early Eocene Sui Main Limestone (SML) in Kharnhak-1 Well, Middle Indus Basin, Pakistan

The petrophysical analysis of the early Eocene Sui Main Limestone (SML) has been conducted in Kharnhak-1 well for the prospect of the hydrocarbon exploration of the Khairpur-Jacobabad High, Middle Indus Basin, Pakistan. The petrophysical analysis of SML is carried out on the basis of well logs including gamma ray, spontaneous potential, resistivity, neutron, and density logs. These analyses lea...

متن کامل

Simulated Maximum Likelihood Estimation of The Linear Expenditure System with Binding Non-negativity Constraints

This paper discusses issues on the estimation of consumer demand equations subject to binding non-negative constraints. We propose computationally feasible specifications and a simulated maximum likelihood (SML) method for demand systems. Our study shows that the econometric implementation of the SML estimates can avoid high-dimensional integration problems. As contrary to the simulation method...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004